package com.board.client;
//食堂服务

import com.board.client.dto.CanteenDto;
import com.board.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "board-canteen-server",path = "/board-canteen")
public interface CanteenServiceClient {

    @GetMapping("/canteenInfo/findCanteenById")
    public Result<CanteenDto> findCanteenById(@RequestParam("canteenId") Integer canteenId);

}
